#coding=utf-8
from aip import AipNlp
from app.config.secure import AIP_KEY,AIP_SECRET,APP_ID


class AIP(object):
    app_id = APP_ID
    key = AIP_KEY
    secret = AIP_SECRET
    client = AipNlp(APP_ID, AIP_KEY, AIP_SECRET)

    def DNN(self):
        print(self.client.simnet('可以', '可以'))


if __name__ == '__main__':
    bot = AIP()
    bot.DNN()
